package me.zixing.java.guiandthread.ui;

import javax.imageio.ImageIO;
import java.awt.*;
import java.net.URL;

/**
 * Created by bingh on 2017/11/14.
 */
public class VSImagePanel extends ImagePanel {

    @Override
    public void doDraw(Graphics g) {
        try{
            URL url = VSImagePanel.class.getClassLoader().getResource("vs.png");
            g.drawImage(ImageIO.read(url),40,0,110,110,this);
        }catch (Exception e){
            e.printStackTrace();
        }
    }
}
